// 屏幕自适应
(function (width, rem) {
	document.documentElement.style.fontSize = getSize()
	window.addEventListener('resize', function () {
		document.documentElement.style.fontSize = getSize()
	})
	function getSize() {
		var windowWidth = document.documentElement.getBoundingClientRect().width
		windowWidth = windowWidth > width ? width : windowWidth
		var size = (windowWidth / width) * rem
		return size + 'px'
	}
})(750, 100)